package com.simple.gateway.center.basedata.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.simple.gateway.center.basedata.po.GatewayUserInterfaceRelation;
import java.util.List;

/**
* 项目: simple-gateway-core
*
* 功能描述: 网关用户接口关联表
*
* @author: yysimple
* @create: 2023-08-29 22:39:35
**/
@Mapper
public interface GatewayUserInterfaceRelationMapper extends BaseMapper<GatewayUserInterfaceRelation> {

    /**
    * 通过ID查询单个网关用户接口关联表
    *
    * @param id ID
    * @return {@link GatewayUserInterfaceRelation}
    */
    GatewayUserInterfaceRelation findGatewayUserInterfaceRelationById(@Param("id") Long id);

    /**
    * 多条件查询GatewayUserInterfaceRelation列表
    *
    * @param gatewayUserInterfaceRelation
    * @return java.util.List<GatewayUserInterfaceRelation>
    */
    List<GatewayUserInterfaceRelation> listGatewayUserInterfaceRelation(GatewayUserInterfaceRelation gatewayUserInterfaceRelation);

    /**
    * 新增网关用户接口关联表
    *
    * @param gatewayUserInterfaceRelation 网关用户接口关联表
    */
    void insertGatewayUserInterfaceRelation(GatewayUserInterfaceRelation gatewayUserInterfaceRelation);

    /**
    * 修改网关用户接口关联表
    *
    * @param gatewayUserInterfaceRelation 网关用户接口关联表
    */
    void updateGatewayUserInterfaceRelation(GatewayUserInterfaceRelation gatewayUserInterfaceRelation);

    /**
    * 通过ID删除单个网关用户接口关联表
    *
    * @param id ID
    */
    void deleteGatewayUserInterfaceRelationById(@Param("id") Long id);

}
